package net.sky.oa.service.talkpark.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.htsoft.core.service.impl.BaseServiceImpl;
import net.sky.oa.dao.talkpark.MailBoxDao;
import net.sky.oa.model.MailBox;
import net.sky.oa.service.talkpark.MailBoxService;

@Service
@Transactional
public class MailBoxServiceImpl extends BaseServiceImpl<MailBox> implements MailBoxService {
    
	
	private MailBoxDao mailboxdao;
	
	@Resource
	public void setDao(MailBoxDao mailboxdao){
		super.setDao(mailboxdao);
	    this.mailboxdao=mailboxdao;	
	}
    
	@Transactional(readOnly=true)
	public List<MailBox> findAllMailBox() {
		
		return this.mailboxdao.findAllMailBox();
	}

	public List<MailBox> findByHql(String paramString) {
		// TODO Auto-generated method stub
		return null;
	}
	

}
